3.2.98 \(\int \sqrt {a+b \sec (e+f x)} (c+d \sec (e+f x)) \, dx\) [198]

Optimal. Leaf size=320 \[ -\frac {2 (a-b) \sqrt {a+b} d \cot (e+f x) E\left (\text {ArcSin}\left (\frac {\sqrt {a+b \sec (e+f x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right ) \sqrt {\frac {b (1-\sec (e+f x))}{a+b}} \sqrt {-\frac {b (1+\sec (e+f x))}{a-b}}}{b f}+\frac {2 \sqrt {a+b} (b (c-d)+a d) \cot (e+f x) F\left (\text {ArcSin}\left (\frac {\sqrt {a+b \sec (e+f x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right ) \sqrt {\frac {b (1-\sec (e+f x))}{a+b}} \sqrt {-\frac {b (1+\sec (e+f x))}{a-b}}}{b f}-\frac {2 \sqrt {a+b} c \cot (e+f x) \Pi \left (\frac {a+b}{a};\text {ArcSin}\left (\frac {\sqrt {a+b \sec (e+f x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right ) \sqrt {\frac {b (1-\sec (e+f x))}{a+b}} \sqrt {-\frac {b (1+\sec (e+f x))}{a-b}}}{f} \]

[Out]

-2*(a-b)*d*cot(f*x+e)*EllipticE((a+b*sec(f*x+e))^(1/2)/(a+b)^(1/2),((a+b)/(a-b))^(1/2))*(a+b)^(1/2)*(b*(1-sec(
f*x+e))/(a+b))^(1/2)*(-b*(1+sec(f*x+e))/(a-b))^(1/2)/b/f+2*(b*(c-d)+a*d)*cot(f*x+e)*EllipticF((a+b*sec(f*x+e))
^(1/2)/(a+b)^(1/2),((a+b)/(a-b))^(1/2))*(a+b)^(1/2)*(b*(1-sec(f*x+e))/(a+b))^(1/2)*(-b*(1+sec(f*x+e))/(a-b))^(
1/2)/b/f-2*c*cot(f*x+e)*EllipticPi((a+b*sec(f*x+e))^(1/2)/(a+b)^(1/2),(a+b)/a,((a+b)/(a-b))^(1/2))*(a+b)^(1/2)
*(b*(1-sec(f*x+e))/(a+b))^(1/2)*(-b*(1+sec(f*x+e))/(a-b))^(1/2)/f

________________________________________________________________________________________

Rubi [A]
time = 0.19, antiderivative size = 320, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4001, 3869, 4090, 3917, 4089} \begin {gather*} \frac {2 \sqrt {a+b} (a d+b (c-d)) \cot (e+f x) \sqrt {\frac {b (1-\sec (e+f x))}{a+b}} \sqrt {-\frac {b (\sec (e+f x)+1)}{a-b}} F\left (\text {ArcSin}\left (\frac {\sqrt {a+b \sec (e+f x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right )}{b f}-\frac {2 c \sqrt {a+b} \cot (e+f x) \sqrt {\frac {b (1-\sec (e+f x))}{a+b}} \sqrt {-\frac {b (\sec (e+f x)+1)}{a-b}} \Pi \left (\frac {a+b}{a};\text {ArcSin}\left (\frac {\sqrt {a+b \sec (e+f x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right )}{f}-\frac {2 d (a-b) \sqrt {a+b} \cot (e+f x) \sqrt {\frac {b (1-\sec (e+f x))}{a+b}} \sqrt {-\frac {b (\sec (e+f x)+1)}{a-b}} E\left (\text {ArcSin}\left (\frac {\sqrt {a+b \sec (e+f x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right )}{b f} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[a + b*Sec[e + f*x]]*(c + d*Sec[e + f*x]),x]

[Out]

(-2*(a - b)*Sqrt[a + b]*d*Cot[e + f*x]*EllipticE[ArcSin[Sqrt[a + b*Sec[e + f*x]]/Sqrt[a + b]], (a + b)/(a - b)
]*Sqrt[(b*(1 - Sec[e + f*x]))/(a + b)]*Sqrt[-((b*(1 + Sec[e + f*x]))/(a - b))])/(b*f) + (2*Sqrt[a + b]*(b*(c -
 d) + a*d)*Cot[e + f*x]*EllipticF[ArcSin[Sqrt[a + b*Sec[e + f*x]]/Sqrt[a + b]], (a + b)/(a - b)]*Sqrt[(b*(1 -
Sec[e + f*x]))/(a + b)]*Sqrt[-((b*(1 + Sec[e + f*x]))/(a - b))])/(b*f) - (2*Sqrt[a + b]*c*Cot[e + f*x]*Ellipti
cPi[(a + b)/a, ArcSin[Sqrt[a + b*Sec[e + f*x]]/Sqrt[a + b]], (a + b)/(a - b)]*Sqrt[(b*(1 - Sec[e + f*x]))/(a +
 b)]*Sqrt[-((b*(1 + Sec[e + f*x]))/(a - b))])/f

Rule 3869

Int[1/Sqrt[csc[(c_.) + (d_.)*(x_)]*(b_.) + (a_)], x_Symbol] :> Simp[2*(Rt[a + b, 2]/(a*d*Cot[c + d*x]))*Sqrt[b
*((1 - Csc[c + d*x])/(a + b))]*Sqrt[(-b)*((1 + Csc[c + d*x])/(a - b))]*EllipticPi[(a + b)/a, ArcSin[Sqrt[a + b
*Csc[c + d*x]]/Rt[a + b, 2]], (a + b)/(a - b)], x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0]

Rule 3917

Int[csc[(e_.) + (f_.)*(x_)]/Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)], x_Symbol] :> Simp[-2*(Rt[a + b, 2]/(b*
f*Cot[e + f*x]))*Sqrt[(b*(1 - Csc[e + f*x]))/(a + b)]*Sqrt[(-b)*((1 + Csc[e + f*x])/(a - b))]*EllipticF[ArcSin
[Sqrt[a + b*Csc[e + f*x]]/Rt[a + b, 2]], (a + b)/(a - b)], x] /; FreeQ[{a, b, e, f}, x] && NeQ[a^2 - b^2, 0]

Rule 4001

Int[Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)]*(csc[(e_.) + (f_.)*(x_)]*(d_.) + (c_)), x_Symbol] :> Dist[a*c,
Int[1/Sqrt[a + b*Csc[e + f*x]], x], x] + Int[Csc[e + f*x]*((b*c + a*d + b*d*Csc[e + f*x])/Sqrt[a + b*Csc[e + f
*x]]), x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0]

Rule 4089

Int[(csc[(e_.) + (f_.)*(x_)]*(csc[(e_.) + (f_.)*(x_)]*(B_.) + (A_)))/Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)
], x_Symbol] :> Simp[-2*(A*b - a*B)*Rt[a + b*(B/A), 2]*Sqrt[b*((1 - Csc[e + f*x])/(a + b))]*(Sqrt[(-b)*((1 + C
sc[e + f*x])/(a - b))]/(b^2*f*Cot[e + f*x]))*EllipticE[ArcSin[Sqrt[a + b*Csc[e + f*x]]/Rt[a + b*(B/A), 2]], (a
*A + b*B)/(a*A - b*B)], x] /; FreeQ[{a, b, e, f, A, B}, x] && NeQ[a^2 - b^2, 0] && EqQ[A^2 - B^2, 0]

Rule 4090

Int[(csc[(e_.) + (f_.)*(x_)]*(csc[(e_.) + (f_.)*(x_)]*(B_.) + (A_)))/Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)
], x_Symbol] :> Dist[A - B, Int[Csc[e + f*x]/Sqrt[a + b*Csc[e + f*x]], x], x] + Dist[B, Int[Csc[e + f*x]*((1 +
 Csc[e + f*x])/Sqrt[a + b*Csc[e + f*x]]), x], x] /; FreeQ[{a, b, e, f, A, B}, x] && NeQ[a^2 - b^2, 0] && NeQ[A
^2 - B^2, 0]

Rubi steps

\begin {align*} \int \sqrt {a+b \sec (e+f x)} (c+d \sec (e+f x)) \, dx &=(a c) \int \frac {1}{\sqrt {a+b \sec (e+f x)}} \, dx+\int \frac {\sec (e+f x) (b c+a d+b d \sec (e+f x))}{\sqrt {a+b \sec (e+f x)}} \, dx\\ &=-\frac {2 \sqrt {a+b} c \cot (e+f x) \Pi \left (\frac {a+b}{a};\sin ^{-1}\left (\frac {\sqrt {a+b \sec (e+f x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right ) \sqrt {\frac {b (1-\sec (e+f x))}{a+b}} \sqrt {-\frac {b (1+\sec (e+f x))}{a-b}}}{f}+(b d) \int \frac {\sec (e+f x) (1+\sec (e+f x))}{\sqrt {a+b \sec (e+f x)}} \, dx+(b (c-d)+a d) \int \frac {\sec (e+f x)}{\sqrt {a+b \sec (e+f x)}} \, dx\\ &=-\frac {2 (a-b) \sqrt {a+b} d \cot (e+f x) E\left (\sin ^{-1}\left (\frac {\sqrt {a+b \sec (e+f x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right ) \sqrt {\frac {b (1-\sec (e+f x))}{a+b}} \sqrt {-\frac {b (1+\sec (e+f x))}{a-b}}}{b f}+\frac {2 \sqrt {a+b} (b (c-d)+a d) \cot (e+f x) F\left (\sin ^{-1}\left (\frac {\sqrt {a+b \sec (e+f x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right ) \sqrt {\frac {b (1-\sec (e+f x))}{a+b}} \sqrt {-\frac {b (1+\sec (e+f x))}{a-b}}}{b f}-\frac {2 \sqrt {a+b} c \cot (e+f x) \Pi \left (\frac {a+b}{a};\sin ^{-1}\left (\frac {\sqrt {a+b \sec (e+f x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right ) \sqrt {\frac {b (1-\sec (e+f x))}{a+b}} \sqrt {-\frac {b (1+\sec (e+f x))}{a-b}}}{f}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains complex when optimal does not.
time = 17.79, size = 913, normalized size = 2.85 \begin {gather*} \frac {2 d \cos (e+f x) \sqrt {a+b \sec (e+f x)} (c+d \sec (e+f x)) \sin (e+f x)}{f (d+c \cos (e+f x))}+\frac {2 \sqrt {a+b \sec (e+f x)} (c+d \sec (e+f x)) \left (a \sqrt {\frac {-a+b}{a+b}} d \tan \left (\frac {1}{2} (e+f x)\right )+b \sqrt {\frac {-a+b}{a+b}} d \tan \left (\frac {1}{2} (e+f x)\right )-2 a \sqrt {\frac {-a+b}{a+b}} d \tan ^3\left (\frac {1}{2} (e+f x)\right )+a \sqrt {\frac {-a+b}{a+b}} d \tan ^5\left (\frac {1}{2} (e+f x)\right )-b \sqrt {\frac {-a+b}{a+b}} d \tan ^5\left (\frac {1}{2} (e+f x)\right )+2 i a c \Pi \left (-\frac {a+b}{a-b};i \sinh ^{-1}\left (\sqrt {\frac {-a+b}{a+b}} \tan \left (\frac {1}{2} (e+f x)\right )\right )|\frac {a+b}{a-b}\right ) \sqrt {1-\tan ^2\left (\frac {1}{2} (e+f x)\right )} \sqrt {\frac {a+b-a \tan ^2\left (\frac {1}{2} (e+f x)\right )+b \tan ^2\left (\frac {1}{2} (e+f x)\right )}{a+b}}+2 i a c \Pi \left (-\frac {a+b}{a-b};i \sinh ^{-1}\left (\sqrt {\frac {-a+b}{a+b}} \tan \left (\frac {1}{2} (e+f x)\right )\right )|\frac {a+b}{a-b}\right ) \tan ^2\left (\frac {1}{2} (e+f x)\right ) \sqrt {1-\tan ^2\left (\frac {1}{2} (e+f x)\right )} \sqrt {\frac {a+b-a \tan ^2\left (\frac {1}{2} (e+f x)\right )+b \tan ^2\left (\frac {1}{2} (e+f x)\right )}{a+b}}-i (a-b) d E\left (i \sinh ^{-1}\left (\sqrt {\frac {-a+b}{a+b}} \tan \left (\frac {1}{2} (e+f x)\right )\right )|\frac {a+b}{a-b}\right ) \sqrt {1-\tan ^2\left (\frac {1}{2} (e+f x)\right )} \left (1+\tan ^2\left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {\frac {a+b-a \tan ^2\left (\frac {1}{2} (e+f x)\right )+b \tan ^2\left (\frac {1}{2} (e+f x)\right )}{a+b}}-i (a-b) (c-d) F\left (i \sinh ^{-1}\left (\sqrt {\frac {-a+b}{a+b}} \tan \left (\frac {1}{2} (e+f x)\right )\right )|\frac {a+b}{a-b}\right ) \sqrt {1-\tan ^2\left (\frac {1}{2} (e+f x)\right )} \left (1+\tan ^2\left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {\frac {a+b-a \tan ^2\left (\frac {1}{2} (e+f x)\right )+b \tan ^2\left (\frac {1}{2} (e+f x)\right )}{a+b}}\right )}{\sqrt {\frac {-a+b}{a+b}} f \sqrt {b+a \cos (e+f x)} (d+c \cos (e+f x)) \sec ^{\frac {3}{2}}(e+f x) \sqrt {\frac {1}{1-\tan ^2\left (\frac {1}{2} (e+f x)\right )}} \left (-1+\tan ^2\left (\frac {1}{2} (e+f x)\right )\right ) \left (1+\tan ^2\left (\frac {1}{2} (e+f x)\right )\right )^{3/2} \sqrt {\frac {a+b-a \tan ^2\left (\frac {1}{2} (e+f x)\right )+b \tan ^2\left (\frac {1}{2} (e+f x)\right )}{1+\tan ^2\left (\frac {1}{2} (e+f x)\right )}}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[a + b*Sec[e + f*x]]*(c + d*Sec[e + f*x]),x]

[Out]

(2*d*Cos[e + f*x]*Sqrt[a + b*Sec[e + f*x]]*(c + d*Sec[e + f*x])*Sin[e + f*x])/(f*(d + c*Cos[e + f*x])) + (2*Sq
rt[a + b*Sec[e + f*x]]*(c + d*Sec[e + f*x])*(a*Sqrt[(-a + b)/(a + b)]*d*Tan[(e + f*x)/2] + b*Sqrt[(-a + b)/(a
+ b)]*d*Tan[(e + f*x)/2] - 2*a*Sqrt[(-a + b)/(a + b)]*d*Tan[(e + f*x)/2]^3 + a*Sqrt[(-a + b)/(a + b)]*d*Tan[(e
 + f*x)/2]^5 - b*Sqrt[(-a + b)/(a + b)]*d*Tan[(e + f*x)/2]^5 + (2*I)*a*c*EllipticPi[-((a + b)/(a - b)), I*ArcS
inh[Sqrt[(-a + b)/(a + b)]*Tan[(e + f*x)/2]], (a + b)/(a - b)]*Sqrt[1 - Tan[(e + f*x)/2]^2]*Sqrt[(a + b - a*Ta
n[(e + f*x)/2]^2 + b*Tan[(e + f*x)/2]^2)/(a + b)] + (2*I)*a*c*EllipticPi[-((a + b)/(a - b)), I*ArcSinh[Sqrt[(-
a + b)/(a + b)]*Tan[(e + f*x)/2]], (a + b)/(a - b)]*Tan[(e + f*x)/2]^2*Sqrt[1 - Tan[(e + f*x)/2]^2]*Sqrt[(a +
b - a*Tan[(e + f*x)/2]^2 + b*Tan[(e + f*x)/2]^2)/(a + b)] - I*(a - b)*d*EllipticE[I*ArcSinh[Sqrt[(-a + b)/(a +
 b)]*Tan[(e + f*x)/2]], (a + b)/(a - b)]*Sqrt[1 - Tan[(e + f*x)/2]^2]*(1 + Tan[(e + f*x)/2]^2)*Sqrt[(a + b - a
*Tan[(e + f*x)/2]^2 + b*Tan[(e + f*x)/2]^2)/(a + b)] - I*(a - b)*(c - d)*EllipticF[I*ArcSinh[Sqrt[(-a + b)/(a
+ b)]*Tan[(e + f*x)/2]], (a + b)/(a - b)]*Sqrt[1 - Tan[(e + f*x)/2]^2]*(1 + Tan[(e + f*x)/2]^2)*Sqrt[(a + b -
a*Tan[(e + f*x)/2]^2 + b*Tan[(e + f*x)/2]^2)/(a + b)]))/(Sqrt[(-a + b)/(a + b)]*f*Sqrt[b + a*Cos[e + f*x]]*(d
+ c*Cos[e + f*x])*Sec[e + f*x]^(3/2)*Sqrt[(1 - Tan[(e + f*x)/2]^2)^(-1)]*(-1 + Tan[(e + f*x)/2]^2)*(1 + Tan[(e
 + f*x)/2]^2)^(3/2)*Sqrt[(a + b - a*Tan[(e + f*x)/2]^2 + b*Tan[(e + f*x)/2]^2)/(1 + Tan[(e + f*x)/2]^2)])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1371\) vs. \(2(293)=586\).
time = 3.54, size = 1372, normalized size = 4.29

method result size
default \(\text {Expression too large to display}\) \(1372\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c+d*sec(f*x+e))*(a+b*sec(f*x+e))^(1/2),x,method=_RETURNVERBOSE)

[Out]

-2/f*((a*cos(f*x+e)+b)/cos(f*x+e))^(1/2)*(cos(f*x+e)+1)^2*(-1+cos(f*x+e))^2*(-cos(f*x+e)*(cos(f*x+e)/(cos(f*x+
e)+1))^(1/2)*((a*cos(f*x+e)+b)/(cos(f*x+e)+1)/(a+b))^(1/2)*sin(f*x+e)*EllipticF((-1+cos(f*x+e))/sin(f*x+e),((a
-b)/(a+b))^(1/2))*a*c+cos(f*x+e)*(cos(f*x+e)/(cos(f*x+e)+1))^(1/2)*((a*cos(f*x+e)+b)/(cos(f*x+e)+1)/(a+b))^(1/
2)*sin(f*x+e)*EllipticF((-1+cos(f*x+e))/sin(f*x+e),((a-b)/(a+b))^(1/2))*a*d+cos(f*x+e)*(cos(f*x+e)/(cos(f*x+e)
+1))^(1/2)*((a*cos(f*x+e)+b)/(cos(f*x+e)+1)/(a+b))^(1/2)*sin(f*x+e)*EllipticF((-1+cos(f*x+e))/sin(f*x+e),((a-b
)/(a+b))^(1/2))*b*c+cos(f*x+e)*(cos(f*x+e)/(cos(f*x+e)+1))^(1/2)*((a*cos(f*x+e)+b)/(cos(f*x+e)+1)/(a+b))^(1/2)
*sin(f*x+e)*EllipticF((-1+cos(f*x+e))/sin(f*x+e),((a-b)/(a+b))^(1/2))*b*d-cos(f*x+e)*(cos(f*x+e)/(cos(f*x+e)+1
))^(1/2)*((a*cos(f*x+e)+b)/(cos(f*x+e)+1)/(a+b))^(1/2)*sin(f*x+e)*EllipticE((-1+cos(f*x+e))/sin(f*x+e),((a-b)/
(a+b))^(1/2))*a*d-cos(f*x+e)*(cos(f*x+e)/(cos(f*x+e)+1))^(1/2)*((a*cos(f*x+e)+b)/(cos(f*x+e)+1)/(a+b))^(1/2)*s
in(f*x+e)*EllipticE((-1+cos(f*x+e))/sin(f*x+e),((a-b)/(a+b))^(1/2))*b*d+2*cos(f*x+e)*(cos(f*x+e)/(cos(f*x+e)+1
))^(1/2)*((a*cos(f*x+e)+b)/(cos(f*x+e)+1)/(a+b))^(1/2)*sin(f*x+e)*EllipticPi((-1+cos(f*x+e))/sin(f*x+e),-1,((a
-b)/(a+b))^(1/2))*a*c-(cos(f*x+e)/(cos(f*x+e)+1))^(1/2)*((a*cos(f*x+e)+b)/(cos(f*x+e)+1)/(a+b))^(1/2)*sin(f*x+
e)*EllipticF((-1+cos(f*x+e))/sin(f*x+e),((a-b)/(a+b))^(1/2))*a*c+(cos(f*x+e)/(cos(f*x+e)+1))^(1/2)*((a*cos(f*x
+e)+b)/(cos(f*x+e)+1)/(a+b))^(1/2)*EllipticF((-1+cos(f*x+e))/sin(f*x+e),((a-b)/(a+b))^(1/2))*a*d*sin(f*x+e)+(c
os(f*x+e)/(cos(f*x+e)+1))^(1/2)*((a*cos(f*x+e)+b)/(cos(f*x+e)+1)/(a+b))^(1/2)*EllipticF((-1+cos(f*x+e))/sin(f*
x+e),((a-b)/(a+b))^(1/2))*b*c*sin(f*x+e)+(cos(f*x+e)/(cos(f*x+e)+1))^(1/2)*((a*cos(f*x+e)+b)/(cos(f*x+e)+1)/(a
+b))^(1/2)*EllipticF((-1+cos(f*x+e))/sin(f*x+e),((a-b)/(a+b))^(1/2))*b*d*sin(f*x+e)-(cos(f*x+e)/(cos(f*x+e)+1)
)^(1/2)*((a*cos(f*x+e)+b)/(cos(f*x+e)+1)/(a+b))^(1/2)*sin(f*x+e)*EllipticE((-1+cos(f*x+e))/sin(f*x+e),((a-b)/(
a+b))^(1/2))*a*d-(cos(f*x+e)/(cos(f*x+e)+1))^(1/2)*((a*cos(f*x+e)+b)/(cos(f*x+e)+1)/(a+b))^(1/2)*EllipticE((-1
+cos(f*x+e))/sin(f*x+e),((a-b)/(a+b))^(1/2))*b*d*sin(f*x+e)+2*(cos(f*x+e)/(cos(f*x+e)+1))^(1/2)*((a*cos(f*x+e)
+b)/(cos(f*x+e)+1)/(a+b))^(1/2)*sin(f*x+e)*EllipticPi((-1+cos(f*x+e))/sin(f*x+e),-1,((a-b)/(a+b))^(1/2))*a*c+c
os(f*x+e)^2*a*d-cos(f*x+e)*a*d+cos(f*x+e)*b*d-d*b)/sin(f*x+e)^5/(a*cos(f*x+e)+b)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c+d*sec(f*x+e))*(a+b*sec(f*x+e))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*sec(f*x + e) + a)*(d*sec(f*x + e) + c), x)

________________________________________________________________________________________

Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c+d*sec(f*x+e))*(a+b*sec(f*x+e))^(1/2),x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {a + b \sec {\left (e + f x \right )}} \left (c + d \sec {\left (e + f x \right )}\right )\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c+d*sec(f*x+e))*(a+b*sec(f*x+e))**(1/2),x)

[Out]

Integral(sqrt(a + b*sec(e + f*x))*(c + d*sec(e + f*x)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c+d*sec(f*x+e))*(a+b*sec(f*x+e))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*sec(f*x + e) + a)*(d*sec(f*x + e) + c), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \sqrt {a+\frac {b}{\cos \left (e+f\,x\right )}}\,\left (c+\frac {d}{\cos \left (e+f\,x\right )}\right ) \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b/cos(e + f*x))^(1/2)*(c + d/cos(e + f*x)),x)

[Out]

int((a + b/cos(e + f*x))^(1/2)*(c + d/cos(e + f*x)), x)

________________________________________________________________________________________